﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BTKERP.Model.Inventory
{
    #region ShelfInfo
    /// <summary>
    /// This object represents the properties and methods of a Shelf.
    /// </summary>
    [Serializable]
    public class ShelfInfo
    {
        protected string _id;
        protected string _code = String.Empty;
        protected string _barcode = String.Empty;
        protected string _name = String.Empty;
        protected string _description = String.Empty;
        protected int _areaId;
        protected int _levels;
        protected int _capacityUnitId;
        protected decimal _capacityValue;
        protected decimal _weight;
        protected decimal _length;
        protected decimal _width;
        protected decimal _height;
        protected decimal _thickness;
        protected DateTime _createdOn;
        protected string _createdBy = String.Empty;
        protected DateTime _updatedOn;
        protected string _updatedBy = String.Empty;
        protected bool _isDeleted;

        public ShelfInfo()
        {
        }

        #region Public Properties
        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Code
        {
            get { return _code; }
            set { _code = value; }
        }

        public string Barcode
        {
            get { return _barcode; }
            set { _barcode = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public int AreaId
        {
            get { return _areaId; }
            set { _areaId = value; }
        }

        public int Levels
        {
            get { return _levels; }
            set { _levels = value; }
        }

        public int CapacityUnitId
        {
            get { return _capacityUnitId; }
            set { _capacityUnitId = value; }
        }

        public decimal CapacityValue
        {
            get { return _capacityValue; }
            set { _capacityValue = value; }
        }

        public decimal Weight
        {
            get { return _weight; }
            set { _weight = value; }
        }

        public decimal Length
        {
            get { return _length; }
            set { _length = value; }
        }

        public decimal Width
        {
            get { return _width; }
            set { _width = value; }
        }

        public decimal Height
        {
            get { return _height; }
            set { _height = value; }
        }

        public decimal Thickness
        {
            get { return _thickness; }
            set { _thickness = value; }
        }

        public DateTime CreatedOn
        {
            get { return _createdOn; }
            set { _createdOn = value; }
        }

        public string CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        public DateTime UpdatedOn
        {
            get { return _updatedOn; }
            set { _updatedOn = value; }
        }

        public string UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }

        public bool IsDeleted
        {
            get { return _isDeleted; }
            set { _isDeleted = value; }
        }
        #endregion

    }
    #endregion
}
